#include "stdafx.h"
#include "TestPersistable.h"
#include "PersistentObject.h"

CPPUNIT_TEST_SUITE_REGISTRATION( TestPersistable );


TestPersistable::TestPersistable()
{
}


TestPersistable::~TestPersistable()
{
}

class PersistableTest : public Persistable
{
public:
	virtual Persistable* Clone(){
	return NULL;
	}
};

void TestPersistable::TestInit()
{
	PersistableTest pt;
	
	CPPUNIT_ASSERT( pt.IsCreateState() );
	CPPUNIT_ASSERT( pt.IsWriteEnable() );
}